package com.yuanchu.goods.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @version: 1.0
 * @Author: adan
 * @description: 添加商品信息
 * @date: 2023-12-19 22:39
 */
@ApiModel("添加商品信息dto")
@Data
@ToString
public class AddGoodsParamsDto implements Serializable {


    @JsonProperty("spec_type")
    private Integer specType;
    @JsonProperty("is_enable_grade")
    private Integer isEnableGrade;
    @JsonProperty("goods_name")
    private String goodsName;
    private List<Integer> imagesIds;
    @JsonProperty("goods_no")
    private String goodsNo;
    @JsonProperty("delivery_id")
    private Integer deliveryId;
    private Integer status;
    private Integer sort;
    @JsonProperty("goods_price")
    private String goodsPrice;
    @JsonProperty("line_price")
    private String linePrice;
    @JsonProperty("stock_num")
    private Integer stockNum;
    @JsonProperty("goods_weight")
    private Integer goodsWeight;
    @JsonProperty("deduct_stock_type")
    private Integer deductStockType;
    private String content;
    @JsonProperty("video_id")
    private Integer videoId;
    @JsonProperty("video_cover_id")
    private Integer videoCoverId;
    @JsonProperty("selling_poInteger")
    private String sellingPoInteger;
    private List<Integer> serviceIds;
    @JsonProperty("sales_initial")
    private Integer salesInitial;

    @JsonProperty("selling_point")
    private String sellingPoint;
    @JsonProperty("alone_grade_equity")
    private Map<String, Double> aloneGradeEquity;

    @JsonProperty("is_points_gift")
    private Integer isPointsGift;
    @JsonProperty("is_points_discount")
    private Integer isPointsDiscount;
    @JsonProperty("is_alone_grade")
    private Integer isAloneGrade;
    private SpecData specData;
    private List<Integer> categoryIds;



}
